XSLSHEETS = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh

all: datasheet


fop:
	asciidoc -a lang=de -d book -b docbook octopus_datasheet.asciidoc 
	xsltproc -o octopus_datasheet.fo $(XSLSHEETS)/fo/docbook.xsl octopus_datasheet.xml
	fop octopus_datasheet.fo octopus_datasheet.pdf


datasheet: octopus_datasheet.asciidoc
	asciidoc -a lang=de -d book -b docbook octopus_datasheet.asciidoc 
	docbook2pdf octopus_datasheet.xml
	xpdf octopus_datasheet.pdf

jade:
	asciidoc -a lang=de -d book -b docbook octopus_datasheet.asciidoc
	jade -E 100000 -t tex -d /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl octopus_datasheet.xml 2> /dev/null

	pdfjadetex octopus_datasheet.tex

